import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:photo_assistant/view/app/app.dart';
import 'package:photo_assistant/view/camera/camera.dart';
import 'package:photo_assistant/view/camera/camera_binding.dart';
import 'package:photo_assistant/view/qrcode_scan/qrcode_scan.dart';
import 'package:photo_assistant/view/qrcode_scan/qrcode_scan_binding.dart';

void main() {
  runApp(
    GetMaterialApp(
      initialRoute: '/',
      getPages: [
        GetPage(
          name: '/',
          page: () => const App(),
        ),
        GetPage(
          name: '/camera',
          page: () => CameraPage(),
          binding: CameraBinding(),
        ),
        GetPage(
          name: '/qrcode',
          page: () => QRCodeScannerPage(),
          binding: QrcodeScanBinding(),
        ),
      ],
    ),
  );
}
